Bookly\Lib\Utils\DateTime A

Total Complexity 59
Dependencies 2
Dependents 47
Total lines 576
Lines of code 291
Logical lines of code 133
Comment lines 140
Methods 20
Properties 4

Methods 20

Method Rating Maintainability Complexity Lines of code
getTimeZoneOptions()
A
36 7 93
secondsToInterval()
S
49 7 30
formatDateFor()
S
57 7 15
convertFormat()
S
55 6 20
getDatePartsOrder()
S
55 6 19
buildTimeString()
S
61 3 11
datePickerOptions()
S
55 2 19
applyTimeZone()
S
64 3 9
dateRangeOptions()
S
54 1 21
formatOffset()
S
66 2 8
validateDate()
S
74 2 4
timeZoneOffset()
S
65 2 8
formatDate()
S
76 2 3
timeToSeconds()
S
64 2 9
formatTime()
S
76 2 3
formatInterval()
S
78 1 3
convertTimeZone()
S
70 1 6
UTCToWPTimeZone()
S
77 1 3
applyTimeZoneOffset()
S
73 1 4
formatDateTime()
S
78 1 3